import { TreeGenderData, TreeUserStatus, getUserListType } from '@/data/treeData/treeType'
export const getUserGender = ref<TreeGenderData>({
  data: [
    {
      label: '男',
      value: 1
    },
    {
      label: '女',
      value: 2
    }
  ]
})

export const getUserStatus = ref<TreeUserStatus>({
  data: [
    {
      label: '启用',
      value: 1
    },
    {
      label: '禁用',
      value: 2
    }
  ]
})

//-----------------------------------------------------------------------------

// tree数据

export const getUserList = ref<getUserListType>({
  code: 200,
  msg: '成功',
  data: {
    list: [
      {
        id: '745562183488263459',
        username: '姚杰',
        gender: 2,
        user: {
          detail: {
            age: 25
          }
        },
        idCard: '745562183488263459',
        email: 'h.wpghzykgr@tvpqqlyu.sh',
        address: '江西省 抚州市',
        createTime: '2021-07-26 15:27:06',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110032.jpg'
      },
      {
        id: '501119783407467072',
        username: '郭涛',
        gender: 1,
        user: {
          detail: {
            age: 16
          }
        },
        idCard: '501119783407467072',
        email: 'n.qqi@dotcwsiwfb.de',
        address: '贵州省 黔西南布依族苗族自治州',
        createTime: '1991-01-24 09:26:10',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110013.jpg'
      },
      {
        id: '818247880317719422',
        username: '彭超',
        gender: 2,
        user: {
          detail: {
            age: 26
          }
        },
        idCard: '818247880317719422',
        email: 'n.bss@gyqmdw.lt',
        address: '四川省 乐山市',
        createTime: '2005-09-03 08:00:29',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110032.jpg'
      },
      {
        id: '870593260550254546',
        username: '吕敏',
        gender: 2,
        user: {
          detail: {
            age: 22
          }
        },
        idCard: '870593260550254546',
        email: 'k.htd@hjkmk.an',
        address: '吉林省 松原市',
        createTime: '2007-04-21 17:38:20',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110013.jpg'
      },
      {
        id: '619715928324193854',
        username: '于超',
        gender: 2,
        user: {
          detail: {
            age: 28
          }
        },
        idCard: '619715928324193854',
        email: 'i.klwhqx@mgfvuf.om',
        address: '湖南省 岳阳市',
        createTime: '2019-11-17 13:05:07',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110015.jpg'
      },
      {
        id: '057795747258661290',
        username: '尹明',
        gender: 1,
        user: {
          detail: {
            age: 28
          }
        },
        idCard: '057795747258661290',
        email: 't.tcpfvnd@wvceutf.do',
        address: '重庆 重庆市',
        createTime: '1973-10-16 01:10:36',
        status: 1,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110032.jpg'
      },
      {
        id: '716394106752699191',
        username: '萧磊',
        gender: 2,
        user: {
          detail: {
            age: 11
          }
        },
        idCard: '716394106752699191',
        email: 'b.dzrilhblv@brlmw.mt',
        address: '台湾 花莲县',
        createTime: '2021-04-17 06:43:23',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110012.jpg'
      },
      {
        id: '877663811331472244',
        username: '曹涛',
        gender: 2,
        user: {
          detail: {
            age: 25
          }
        },
        idCard: '877663811331472244',
        email: 'k.xesmkhx@enslhkmty.tz',
        address: '山东省 临沂市',
        createTime: '1980-12-23 04:57:03',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110032.jpg'
      },
      {
        id: '729218605124734315',
        username: '康明',
        gender: 2,
        user: {
          detail: {
            age: 13
          }
        },
        idCard: '729218605124734315',
        email: 'q.hhubb@qzew.co',
        address: '山西省 晋中市',
        createTime: '2017-09-04 12:24:34',
        status: 0,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110012.jpg'
      },
      {
        id: '340225993528074513',
        username: '程娜',
        gender: 2,
        user: {
          detail: {
            age: 16
          }
        },
        idCard: '340225993528074513',
        email: 'u.cygw@ediy.ng',
        address: '海外 海外',
        createTime: '2006-04-17 01:40:55',
        status: 1,
        avatar: 'https://iamge-1259297738.cos.ap-chengdu.myqcloud.com/img/20220728110015.jpg'
      }
    ],
    pageNum: 1,
    pageSize: 10,
    total: 2000
  }
})
